package com.ryan.pintu;

import org.anddev.andengine.entity.sprite.Sprite;
import org.anddev.andengine.opengl.texture.region.TextureRegion;

public class PintuSprite extends Sprite{
    public PintuSprite(float pX, float pY,final float pWidth, final float pHeight,  TextureRegion pTextureRegion) {
        super(pX, pY,pWidth,pHeight, pTextureRegion);
    }

    public boolean check(){
        return (this.getInitialX()==this.getX())
                && (this.getInitialY()==this.getY());
    }

}
